from django.db import models

# Create your models here.
class BlogsPost(models.Model):
    title  = models.CharField(max_length = 150)
    body = models.TextField(null=True)
    timestamp = models.DateTimeField()


class News(models.Model):
    title  = models.CharField(max_length = 50)
    body = models.TextField(null=True)
    timestamp = models.DateTimeField()
    status = models.BooleanField(default=False)


